package com.wdj.creation.prototype.pattern.shallclone;

/**
 * @ClassName Attachment
 * @Description
 * @Author wdj
 * @Date 2020/12/14 21:42
 * @Version 1.0
 **/
public class Attachment {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void download(){
        System.out.println("下载附件，文件名为" + name);
    }
}
